Skip to content

Add entropy stable LLF dissipation for the SWE#132

Merged
andrewwinters5000 merged 3 commits intotrixi-framework:mainfrom
patrickersing:swe_es_llf
Mar 9, 2026
Merged

Add entropy stable LLF dissipation for the SWE#132
andrewwinters5000 merged 3 commits intotrixi-framework:mainfrom
patrickersing:swe_es_llf

Conversation

@patrickersing
Copy link
Copy Markdown
Member

This PR adds the DissipationLaxFriedrichsEntropyVariables for the ShallowWaterEquations2D and for a single-layer configuration of the ShallowWaterMultiLayerEquations2D.

@patrickersing patrickersing added the enhancement New feature or request label Mar 8, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.28%. Comparing base (33f9894) to head (7f5eb4c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #132   +/-   ##
=======================================
  Coverage   99.27%   99.28%           
=======================================
  Files          94       94           
  Lines        5092     5116   +24     
=======================================
+ Hits         5055     5079   +24     
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@patrickersing patrickersing marked this pull request as ready for review March 8, 2026 19:15
Copy link
Copy Markdown
Member

@andrewwinters5000 andrewwinters5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Do we also want this in 1D?

@patrickersing
Copy link
Copy Markdown
Member Author

LGTM! Do we also want this in 1D?

My main motivation to introduce this dissipation term was to enable a well-balanced formulation with node-wise limiting (which is only implemented in 2D right now).

We can also add this in 1D, but for the currently available volume integrals we can also always use hydrostatic reconstruction + standard LLF dissipation, so its more optional.

@andrewwinters5000
Copy link
Copy Markdown
Member

LGTM! Do we also want this in 1D?

My main motivation to introduce this dissipation term was to enable a well-balanced formulation with node-wise limiting (which is only implemented in 2D right now).

We can also add this in 1D, but for the currently available volume integrals we can also always use hydrostatic reconstruction + standard LLF dissipation, so its more optional.

Ah, gotcha. Then there is no need to do this is 1D as it would be unnecessary. I will approve this

@andrewwinters5000 andrewwinters5000 merged commit 0dfa47b into trixi-framework:main Mar 9, 2026
17 checks passed
@patrickersing patrickersing deleted the swe_es_llf branch March 9, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants